package com.auhaix.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Author: Auhaix
 * E-mail: xh@qiandw.com
 * Description:
 * CreatedTime: 2017/7/25 16:37
 * Modified by:
 */
@Component
@ConfigurationProperties(prefix = "User")
public class UserProperties {

    private String duty;
    private Integer age;

    public String getDuty() {
        return duty;
    }

    public void setDuty(String cubSize) {
        this.duty = cubSize;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }
}
